package com.iot.ic.service;

import java.util.Arrays;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iot.ic.common.Constant;
import com.iot.ic.dao.AppVersionMapper;
import com.iot.ic.model.AppVersion;
import com.iot.ic.utils.response.ResponseUtil;






@Service
public class AppVersionServiceImpl implements AppVersionService {

	@Autowired
	private AppVersionMapper appVersionMapper;
	
	
	@Override
	public AppVersion getVersion(AppVersion appVersion){
		AppVersion lastVersion=appVersionMapper.selectLastVersion(appVersion);
		return lastVersion;
	}

}
